package com.timoon.component.panel.jqgrid.panel;

import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.panel.Panel;

import com.timoon.component.panel.jqgrid.JqGridPanel;
import com.timoon.component.panel.jqgrid.action.SearchButton;

/**
 * jqgrid的默认搜索框
 * @author Administrator
 *
 */
public class DefaultSearchPanel extends Panel {
	private static final long serialVersionUID = 6354829365406287579L;
	

	public DefaultSearchPanel(String id,JqGridPanel mainPanel) {
		super(id);
		// TODO Auto-generated constructor stub
		
		Form form=new Form("wk_form");
		add(form);
		
		form.add(new SearchButton("wk_search_btn",mainPanel));
	}

}
